package com.imagination.applet.domain.aiimage.model;

import com.imagination.applet.domain.common.entity.AbstractEntity;
import jakarta.persistence.*;
import lombok.*;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: 小熠
 * @Date: 2024/1/14 19:06
 */

@SuperBuilder
@Entity
@Table(name = "t_prompt")
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Prompt implements Serializable {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "name")
    private String name;

    @Column(name = "prompt")
    private String prompt;

    @Column(name = "reverse")
    private String reverse;

    @Column(name = "create_time", insertable = false, updatable = false)
    private LocalDateTime createTime;


}
